package org.wu.framework.lazy.orm.core.config.prop;

import org.wu.framework.lazy.orm.core.config.enums.LazyDataSourceType;

import javax.sql.DataSource;

/**
 * description 懒人数据源配置 (可选)
 * 默认使用 MysqlDataSource
 *
 * @author Jia wei Wu
 * @date 2021/4/23 下午1:39
 */
public interface LazyDataSourceAttribute extends DataSourceAttribute{


    String getAlias();

     void setAlias(String alias);

     String getUrl();

     void setUrl(String url);

     String getUsername();

     void setUsername(String username);

     String getPassword();

     void setPassword(String password);

     String getDriverClassName();

     void setDriverClassName(String driverClassName);

     Class<? extends DataSource> getType();

     void setType(Class<? extends DataSource> type);


     LazyDataSourceType getLazyDataSourceType();

     void setLazyDataSourceType(LazyDataSourceType lazyDataSourceType);


}
